/**
 * 菜单参数
 *
 * @export
 * @class MenuParam
 */
export class MenuParam {
  /**
   * Creates an instance of MenuParam.
   * @param {number} paramId 参数ID
   * @param {number} menuId 菜单ID
   * @param {string} paramName 变量名
   * @param {string} paramValue 变量值
   * @param {string} paramDesc 变量描述
   * @param {string} regexValidation 变量值验证表达式
   * @param {string} regexValidationMsg 变量值验证信息
   * @memberof MenuParam
   */
  constructor(
    public paramId: number,
    public menuId: number,
    public paramName: string,
    public paramValue: string,
    public paramDesc: string,
    public regexValidation: string,
    public regexValidationMsg: string,
    public isChecked: boolean = false
  ) {
    Object.defineProperty(this, 'isChecked', {enumerable: false});
  }
}


